'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub MakeRelative( _ ByVal popup As Popup, _ ByVal relativeElement As FrameworkElement, _ ByVal getLocations As Func(Of List(Of AnchorMatching)) _ )
[Extension()] public static void MakeRelative( Popup popup, FrameworkElement relativeElement, Func<List<AnchorMatching>> getLocations )
Parameters
- popup
- System.Windows.Controls.Primitives.Popup to handle.
- relativeElement
- Element used to locate the popup.
- getLocations
- Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.